﻿@model DealKhuyenMaiV2.com.Models.ChangePasswordModel

@{
    ViewBag.Title = "Change Password";
    Layout = "~/Views/Shared/_MemberGuestLayout.cshtml";
}


<!DOCTYPE html>
<html>
    <head>
        <link href="@Url.Content("/Content/DefaultThemes/Styles/login.css")" rel="stylesheet" type="text/css" />
    </head>

<body>
    <div class="body-left">
        <!--Unknown-->
        <!-- UPD 27.10.3 -->
        <div class="middle-box-white">
            <div class="middle-box-title">
                <div class="left">
                    <h3>
                        <span class="middle-size">Đổi mật khẩu</span>
                    </h3>
                </div>
                <div class="clear"></div>
            </div>
               
            <div class="middle-box-content">

                <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
                <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

                @using (Html.BeginForm()) {
                    @Html.ValidationSummary(true, "Password change was unsuccessful. Please correct the errors and try again.")
                    <div>
                        <fieldset>
                            <table class="table-user-detail">
                                <tbody>
                                    <tr>
                                        <td>
                                            <label> @Html.LabelFor(m => m.OldPassword)</label>                                        
                                        </td>
                                        <td>
                                            <div class="div_txtDK">
                                                @Html.PasswordFor(m => m.OldPassword)
                                                @Html.ValidationMessageFor(m => m.OldPassword)
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <label> @Html.LabelFor(m => m.NewPassword)</label>                                        
                                        </td>
                                        <td>
                                            <div class="div_txtDK">
                                                @Html.PasswordFor(m => m.NewPassword)
                                                @Html.ValidationMessageFor(m => m.NewPassword)
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <label>@Html.LabelFor(m => m.ConfirmPassword)</label>                                        
                                        </td>
                                        <td>
                                            <div class="div_txtDK">
                                                @Html.PasswordFor(m => m.ConfirmPassword)
                                                @Html.ValidationMessageFor(m => m.ConfirmPassword)
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            
                            <p class="middle-box-button">
                                <input type="submit" value="Đổi mật khẩu" class="button_cam"/>
                            </p>
                        </fieldset>
                    </div>
                }
            </div>
        </div>
    </div>
</body>
</html>
